#ifndef AES_H_
#define AES_H_

#include "decryptFile.h"
#include <stdio.h>

/**
 * Decrypts a file using AES-CBC-128.
 *
 * @param[in]	encFile	The file to be decrypted.
 * @param[in]	key		The key to be used in the decryption.							
 *
 * @return		A string containing the decrypted file if successful,
 * 				or NULL in case of failure.
 */
//char * decryptAES(FILE * encFile, unsigned char key[AESKEYLENGTH]);

int decryptAES(FILE * encFile, FILE * result, unsigned char * key );

#endif /*AES_H_*/
